﻿using System.Linq;

namespace CBMS.Interfaces
{
    public interface IBaseEntityRepository<TEntity> 
    {
        IQueryable<TEntity> List();
        void Add(TEntity entity);
        void Attach(TEntity entity);
        void Delete(TEntity entity);
        void SaveChanges();
    }
}
